home *** CD-ROM | disk | FTP | other *** search
- #!/usr/local/bin/python
- import sys
- from asymptopia.tuxmathscrabble import *
-
- def help():
- print 'usage: scrabble [1-3] where default = 3'
- print 'level 1 is easiest (Tux generates fewest options)'
- print 'level 3 is most difficult (Tux can generate more complicated options)'
- print 'F1 saves a screenshot to the users home directory (not tested on Windows)'
- print 'Escape = Quit'
-
- if __name__=='__main__':
- LEVEL=1
- while LEVEL>0:
- t=TuxMathScrabble(LEVEL)
- LEVEL=t.play()
-
-
-